package hr_project.hr.biz.role;

import java.util.List;

import hr_project.hr.entity.Role;
import hr_project.hr.entity.Role_Right;

public interface IRoleBiz {
	public Role getRoleByid(long rid);
	public void addRole(Role role);
	public List<Role> getAllRole();
	public void delRole(long ro_id);
	public void addright(Role_Right rr);
	
	public void deloneRight(Role_Right rr);
	//删除角色的所有权限
	public void delRoleRight(long ro_id);
	
}
